$("ul[class='dropdown-menu']>li").click(
		function() {
			var atext = $(this).children("a").text();
			$("ul[class='dropdown-menu']").siblings("button").html(
					atext + "<span class='caret'></span>")
			$("form>input[type='hidden']").val(atext)
		});
